package com.tianxia120.website.admin.routes;

import com.jfinal.config.Routes;
import com.tianxia120.website.admin.controller.ArticleController;
import com.tianxia120.website.admin.controller.BannerController;
import com.tianxia120.website.admin.controller.MenuController;

/**
 * @createTime: 2018/9/21 15:04
 * @author: HingLo
 * @description: 路由管理
 */
public class AdminRoutes extends Routes {
    @Override
    public void config() {
        add("/banner", BannerController.class);
        add("/article", ArticleController.class);
        add("/menu", MenuController.class);
    }
}
